package com.rover.entity.system;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.grid.ViewField;

/**
 * 角色资源
 *
 */
@Entity
@Table(name = "S_RoleResource")
public class RoleResource  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@ViewField
	private Long id;
	private Long role_ID;
    private Long resource_ID;	
	
	public Long getRole_ID() {
		return role_ID;
	}

	public void setRole_ID(Long role_ID) {
		this.role_ID = role_ID;
	}

	public Long getResource_ID() {
		return resource_ID;
	}

	public void setResource_ID(Long resource_ID) {
		this.resource_ID = resource_ID;
	}

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY) 
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}


}
